package com.example.demo.provider.service.impl;

import com.example.demo.api.HelloService;
import org.springframework.stereotype.Service;

/**
 * @author 许路路
 */
@Service("helloService")
public class HelloServiceImpl implements HelloService {

    public String getName(String name) {
        return "方法:getName:" + name;
    }

    public void sayHello(String name) {
        System.out.println("say hello:" + name);
    }
}
